Maximum Number of Distinct and Nonequivalent Nonstandard Squares in a Word
نویسندگان
چکیده
The combinatorics of squares in a word depends on how the equivalence of halves of the square is defined. We consider Abelian squares, parameterized squares and order-preserving squares. The word uv is an Abelian (parameterized, order-preserving) square if u and v are equivalent in the Abelian (parameterized, order-preserving) sense. The maximum number of ordinary squares is known to be asymptotically linear, but the exact bound is still investigated. We present several results on the maximum number of distinct squares for nonstandard subword equivalence relations. Let SQAbel(n, k) and SQ ′ Abel(n, k) denote the maximum number of Abelian squares in a word of length n over an alphabet of size k, which are distinct as words and which are nonequivalent in the Abelian sense, respectively. We prove that SQAbel(n, 2) = Θ(n ) and SQ Abel(n, 2) = Ω(n / logn). We also give linear bounds for parameterized and order-preserving squares for small alphabets: SQparam(n, 2) = Θ(n) and SQop(n,O(1)) = Θ(n). As a side result we construct infinite words over the smallest alphabet which avoid nontrivial order-preserving squares and nontrivial parameterized cubes (nontrivial parameterized squares cannot be avoided in an infinite word).
منابع مشابه
How Many Squares Can a String Contain?
All our words (strings) are over a fixed alphabet. A square is a subword of the form uu=u, where u is a nonempty word. Two squares are distinct if they are of different shape, not just translates of each other. A word u is primitive if u cannot be written in the form u=v j for some j 2. A square u with u primitive is primitive rooted. Let M(n) denote the maximum number of distinct squares, P(n)...
متن کاملOn the number of squares in partial words
The theorem of Fraenkel and Simpson states that the maximum number of distinct squares that a word w of length n can contain is less than 2n. This is based on the fact that no more than two squares can have their last occurrences starting at the same position. In this paper we show that the maximum number of the last occurrences of squares per position in a partial word containing one hole is 2...
متن کاملSquares in Binary Partial Words
In this paper, we investigate the number of positions that do not start a square, the number of square occurrences, and the number of distinct squares in binary partial words. Letting σh(n) be the maximum number of positions not starting a square for binary partial words with h holes of length n, we show that limσh(n)/n = 15/31 provided the limit of h/n is zero. Letting γh(n) be the minimum num...
متن کاملConstructing Words with High Distinct Square Densities
Fraenkel and Simpson showed that the number of distinct squares in a word of length n is bounded from above by 2n, since at most two distinct squares have their rightmost, or last, occurrence begin at each position. Improvements by Ilie to 2n−Θ(logn) and by Deza et al. to ⌊11n/6⌋ rely on the study of combinatorics of FS-double-squares, when the maximum number of two last occurrences of squares ...
متن کاملWords with the Maximum Number of Abelian Squares
An abelian square is the concatenation of two words that are anagrams of one another. A word of length n can contain Θ(n) distinct factors that are abelian squares. We study infinite words such that the number of abelian square factors of length n grows quadratically with n.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 648 شماره
صفحات -
تاریخ انتشار 2014